<template>
	<view class="phone">
		<statusBar />
		<!-- 设置 -->
		<view @tap="leftIndex" class="nav">
			<image src="../../static/setup/jiantou.png" mode=""></image>
			<view>设置-店铺设置-联系人</view>
		</view>
		<view style="padding-top: 100upx;">
			<view class="top"><u-field :border-bottom="false" v-model="mobile" placeholder="请填输入门店联系人"></u-field></view>
		</view>
		<view class="Login">保存</view>
	</view>
</template>
<script>
import { mapActions, mapState } from 'vuex';
import { toast } from '@/utils/toast';
import request from '@/utils/request';
import statusBar from '../../components/statusBar/statusBar.vue';
export default {
	data() {
		return {
			mobile: ''
		};
	},
	components: {
		statusBar
	},
	onLoad(options) {
		// this.mobile = options.tel
	},
	methods: {
		leftIndex() {
			uni.navigateBack({
				delta: 1
			});
		},
		// 接口
		// modification() {
		// 	uni.showLoading({
		// 		title: '加载中',
		// 		duration: 2000
		// 	});
		
		// 	request('/merchant/shop/store-save', 'POST', {
		// 		storeTel:this.mobile
		// 	}).then(res => {
		// 		if (res.data.code == 1) {
		// 			console.log(res.data, 88);
		// 			setTimeout(() => {
		// 				uni.hideLoading();
		// 			}, 500);
		// 			uni.navigateTo({
		// 				url:"/pages/Setup/Settings"
		// 			})
		// 		}
		// 		try {
		// 			// this.dataList = JSON.parse(res.data).data;
		// 		} catch (e) {
		// 			// this.dataList = res.data.data;
		// 		}
		// 	});
		// },
	}
};
</script>
<style lang="scss" scoped>
.phone {
	/deep/.u-label {
		position: absolute !important;
	}
	.nav {
		display: flex;
		align-items: center;
		padding: 50upx 30upx 31upx 30upx;
		background: $bg1-color;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 9999;
		
		image {
			width: 27upx;
			height: 30upx;
			display: flex;
		}
		& > view {
			font-size: 34upx;
			font-family: Source Han Sans CN;
			font-weight: bold;
			color: $bg2-color;
			margin-left: 30upx;
		}
	}
	.top {
		background: #ffffff;
		padding-top: 30upx;
	}
	.Login {
		width: 93%;
		height: 112upx;
		margin: 0 auto;
		background: rgba(53, 57, 76, 1);
		border-radius: 56upx;
		font-size: 34upx;
		font-family: Source Han Sans CN;
		font-weight: 400;
		color: $bg1-color;
		margin-top: 73upx;
		display: flex;
		align-items: center;
		justify-content: center;
		position: fixed;
		bottom: 30upx;
		left: 0;
		right: 0;
	}
}
</style>
